import cv2

img = cv2.imread('../data/lena.jpg')
cv2.imshow('img',img)

img_0 = cv2.flip(img,0)
cv2.imshow('img0',img_0)

img_1 = cv2.flip(img,1)
cv2.imshow('img1',img_1)



cv2.waitKey()
cv2.destroyAllWindows()






